package com.example.express.repo;

import com.example.express.model.ExpressSheet;
import com.example.express.model.TransPackageContent;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface TransPackageContentRepo extends CrudRepository<TransPackageContent, Integer> {
    TransPackageContent findByExpressSheetAndStatus(ExpressSheet es, int status);

    List<TransPackageContent> findByExpressSheet_Id(String id);
}
